<include file="Public:header"/>

<div class="main-wrap">
	<div class="position">友情链接管理&nbsp;>>&nbsp;<span>修改友情链接</span></div>
	<div class="toolbar">
		<a href="__URL__/add">添加友情链接</a>
	</div>	
	<div class="title">添加友情链接</div>
	<div class="content">
                <form method="post" action="__URL__/edit" name="form1" enctype="multipart/form-data">
                <table cellspacing="0" cellpadding="0" border="1">
                	<input type="hidden" name="id" value="{$vo['id']}">
                    <tr><td>链接文字:</td><td align="left">
                    		<input type="text" name="title" id="ttle" size="60" value="{$vo['title']}">
                    </td></tr>
                    <tr><td>链接地址:</td><td align="left">
                    		<input type="text" name="url" id="url" size="60" value="{$vo['url']}">
                    </td></tr>
                    <tr><td>链接类型:</td><td align="left">
                    		<input type="radio" name="type" value="0" <php>if($vo['type']==0)echo ' checked';</php>>&nbsp;文字链接&nbsp;
                    		<input type="radio" name="type" value="1" <php>if($vo['type']==2)echo ' checked';</php>>&nbsp;图片链接&nbsp;
                   	</td></tr>                        
                    <tr><td>logo图片:</td><td align="left"><input type="file" name="logo" size="60">
                    </td></tr>                    
                    <tr><td>排序:</td><td align="left">
                    		<input type="text" name="orderid" id="orderid" size="20" value="{$vo['orderid']}">                    		
                    </td></tr>
                    <tr><td colspan="2"><input type="submit" class="mybutton" name="edit" value="修改信息"></td></tr>
                </table>
                </form>					              
	</div>	
</div>

<include file="Public:footer"/>